// @Author YaoYa
// @Date 2024-10-10 23:31:00
// @Desc
package forms

type PassWordLoginForm struct {
	Mobile    string `form:"mobile" json:"mobile" binding:"required,mobile"` //手机号码格式,自定义validate
	PassWord  string `form:"password" json:"password" binding:"required,min=8,max=16"`
	Captcha   string `form:"captcha" json:"captcha" binding:"required,min=5,max=5"`
	CaptchaId string `form:"captcha_id" json:"captcha_id" binding:"required"`
}

type RegisterForm struct {
	Mobile   string `form:"mobile" json:"mobile" binding:"required,mobile"` //手机号码格式,自定义validate
	PassWord string `form:"password" json:"password" binding:"required,min=8,max=16"`
	Code     string `form:"code" json:"code" binding:"required,min=4,max=4"`
}
